import 'package:flutter_axrjc/datasource/network/bean/LightImagBean.dart';
import 'package:flutter_axrjc/datasource/network/bean/SelectOption.dart';
import 'package:get/get.dart';

class EditLightState {
  var fixtureName = "".obs;

  var lux = "".obs;

  // var colorTemperatureAdjustment = "".obs;

  var fixtureBrand = "".obs;

  var fixtureModel = "".obs;

  var fixtureTypeName = "".obs;

  var fixtureType = "".obs;

  var installDate = "".obs;
  RxList<LightImageBean> imgList = <LightImageBean>[].obs;
  List<String> localImageList = [];
  var remark = "".obs;
  RxList<SelectOption> types = <SelectOption>[].obs;

  List<LightImagBean> uploadedImgs = <LightImagBean>[].obs;
}

class LightImageBean {
  final bool isLocal;
  final String pathOrUrl;
  final String ifUploadedNo;
  final String ifUploadedBusinessNo;

  LightImageBean(
      {required this.isLocal,
      required this.pathOrUrl,
      required this.ifUploadedNo,
      required this.ifUploadedBusinessNo});
}
